package com.linux.huhx.thread3.singleDesign_1;

import java.util.concurrent.TimeUnit;

/**
 * @Author: huhx
 * @Date: 2017-10-31 下午 4:59
 */
public class MyObject7 {
    private static class MyObjectHandler {
        private static MyObject7 myObject = new MyObject7();
    }

    private MyObject7() {}

    public static MyObject7 getInstance() {
        return MyObjectHandler.myObject;
    }
}
